﻿using my.abp.Domain.Shared.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Services;

namespace my.abp.Domain.IManagers.Org
{
	public interface ISysOrgManager : IDomainService
	{
		public Task<List<SysOrg>> GetList(long Id, string Name, string Code);
		public Task<List<long>> GetUserOrgIdList();
		public Task<List<long>> GetChildIdListWithSelfById(long pid);
		public Task<long> AddOrg(SysOrg input);
		public Task UpdateOrg(SysOrg input);
		public Task DeleteOrg(SysOrg input);
		public Task<SysOrg> GetOrg();
	}
}
